<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>sdf</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function  </center>
    <div align="right">Last update : 13/01/2005</div>
    <p>
      <b>sdf</b> -  Set default figure. </p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>sdf()</tt>
      </dd>
      <dd>
        <tt>f = gdf(); set(f,"default_values",1) </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>f</b>
        </tt>: handle, the handle of the default figure.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
   This routine resets the figure's model to default values.
   </p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>
   
   x=[0:0.1:2*%pi]';
   set old_style off
   f=get("default_figure"); // get the handle of the model figure 
   a=get("default_axes"); // get the handle of the model axes 
     // setting its' properties
   f.background=4;
   f.auto_resize="off";
   f.figure_size=[400 300];
   f.axes_size=[600 400];
   f.figure_position=[0 -1];
   a.x_location="top";
   a.y_location="left";
   for (i=1:6)
     xset("window",i) // create a figure with the identifier i
     plot2d(x,[sin(x) cos(x)],[i -i])
     xclick();
     if i == 4, sdf(); end // return to the  default values of the figure's model
    end
    
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="sda.htm">
        <tt>
          <b>sda</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="gdf.htm">
        <tt>
          <b>gdf</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="gda.htm">
        <tt>
          <b>gda</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="set.htm">
        <tt>
          <b>set</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="graphics_entities.htm">
        <tt>
          <b>graphics_entities</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>
    Djalel ABDEMOUCHE
  </p>
  </body>
</html>
